import service from "../index";



export const DownloadPlantformPreWeldedPartTempFile = (data) => {
  return service({
    method: "POST",
    url: `/api/EquipPreWeldedParts/DownloadPlantformPreWeldedPartTempFile`,
    data,
    headers: {
      'Content-Type': "application/json"
    }, 
    responseType: 'blob'
  });
};

export const CreateNozzleMaterialListV2 = (data) => {
  return service({
    method: "POST",
    url: `/api/NozzleMaterialList/CreateNozzleMaterialListV2`,
    data,
    headers: {
      'Content-Type': "application/json"
    }, 
    responseType: 'blob'
  });
};


export const CreateEquipDwg = (data) => {
  return service({
    method: "POST",
    url: `/api/EquipDrawingTable/CreateEquipDwg`,
    data,
    headers: {
      'Content-Type': "application/json"
    }, 
    responseType: 'blob'
  });
};




export const ImportPipeSuppPreWeldedPartDatas = (data,equip_oid) => {
  return service({
    method: "POST",
    url: `/api/EquipPreWeldedParts/ImportPipeSuppPreWeldedPartDatas?equip_oid=${equip_oid}`,
    data,
    
  });
};


export const ImportPlantformPreWeldedPartDatas = (data,equip_oid,user) => {
  return service({
    method: "POST",
    url: `/api/EquipPreWeldedParts/ImportPlantformPreWeldedPartDatas?equip_oid=${equip_oid}&user=${user}`,
    data,
    
  });
};



export const SaveVesselSupportDatasForEarSeat = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/SaveVesselSupportDatasForEarSeat`,
    data,
    
  });
};


export const SaveVesselSupportDatasForSkirt = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/SaveVesselSupportDatasForSkirt`,
    data,
  });
};


export const GetSphericalTankEquipDrawingDesignDatas = (data) => {
  return service({
    method: "POST",
    url: `/api/EquipDrawingTable/GetSphericalTankEquipDrawingDesignDatas`,
    data,
  });
};



export const SaveVesselSupportDatasForBracketSupport = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/SaveVesselSupportDatasForBracketSupport`,
    data,
    
  });
};


export const SaveVesselSupportDatasForLegSupport = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/SaveVesselSupportDatasForLegSupport`,
    data,
    
  });
};



export const SaveVesselSupportDatasForStorageTank = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/SaveVesselSupportDatasForStorageTank`,
    data,
    
  });
};


export const GetVesselSupportDatasForEarSeat = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/GetVesselSupportDatasForEarSeat`,
    data,
    
  });
};

export const GetVesselSupportDatasForSkirt = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/GetVesselSupportDatasForSkirt`,
    data,
    
  });
};


export const GetStorageTankEquipDrawingDesignDatas = (data) => {
  return service({
    method: "POST",
    url: `/api/EquipDrawingTable/GetStorageTankEquipDrawingDesignDatas`,
    data,
    
  });
};



export const GetVesselSupportDatasForLegSupport = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/GetVesselSupportDatasForLegSupport`,
    data,
    
  });
};



export const GetVesselSupportDatasForBracketSupport = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/GetVesselSupportDatasForBracketSupport`,
    data,
    
  });
};


export const SaveVesselSupportDatasForSphericalTank = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/SaveVesselSupportDatasForSphericalTank`,
    data,
    
  });
};

export const GetVesselSupportDatasForSphericalTank = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/GetVesselSupportDatasForSphericalTank`,
    data,
    
  });
};


export const GetVesselSupportDatasForStorageTank = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/GetVesselSupportDatasForStorageTank`,
    data,
    
  });
};


export const GetEarSeatDatas = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/GetEarSeatDatas`,
    data,
    
  });
};


export const GetLegSupportDatas = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/GetLegSupportDatas`,
    data,
    
  });
};

export const GetBracketSupportDatas = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/GetBracketSupportDatas`,
    data,
    
  });
};



export const GetSaddleDatas = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/GetSaddleDatas`,
    data,
    
  });
};


export const SaveVesselSupportDatasForSaddle = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/SaveVesselSupportDatasForSaddle`,
    data,
    
  });
};

export const GetVesselSupportDatasForSaddle = (params) => {
  return service({
    method: "GET",
    url: `api/VesselSupportData/GetVesselSupportDatasForSaddle`,
    params,
    
  });
};

export const CreatePipeSuppPreWeldedPartTables = (params) => {
  return service({
    method: "GET",
    url: `api/EquipPreWeldedParts/CreatePipeSuppPreWeldedPartTables`,
    params,
    
  });
};


export const GetVesselSupportDatasForRigidRings = (data) => {
  return service({
    method: "POST",
    url: `api/VesselSupportData/GetVesselSupportDatasForRigidRings`,
    data,
    
  });
};


export const SaveVesselSupportDatasForRigidRings = (data) => {
  return service({
    method: "POST",
    url: `api/VesselSupportData/SaveVesselSupportDatasForRigidRings`,
    data,
    
  });
};

export const GetRigidRingsDatas = (data) => {
  return service({
    method: "POST",
    url: `api/VesselSupportData/GetRigidRingsDatas`,
    data,
    
  });
};

export const CalNozzleMaterialListV2 = (params) => {
  return service({
    method: "GET",
    url: `/api/NozzleMaterialList/CalNozzleMaterialListV2`,
    params,
    
  });
};


export const AddBEMNozzle = (params) => {
  return service({
    method: "GET",
    url: `/api/nozzle/AddBEMNozzle`,
    params,
  });
};



export const calculatenozzle = (params) => {
  return service({
    method: "GET",
    url: `/api/calculator/CalculateNozzleV2`,
    params,
  });
};


export const CalculateNozzleV2 = (params) => {
  return service({
    method: "GET",
    url: `/api/calculator/CalculateNozzleV2`,
    params,
  });
};




export const GetBEMNozzleDatas = (params) => {
  return service({
    method: "GET",
    url: `/api/BEM/GetBEMNozzleDatas`,
    params,
  });
};

export const GetNozzleModelDatas = (params) => {
  return service({
    method: "GET",
    url: `/api/NozzleMaterialList/GetNozzleModelDatas`,
    params,
  });
};


export const DeleteAllNozzleCal = (params) => {
  return service({
    method: "GET",
    url: `/api/nozzle/DeleteAllNozzleCal`,
    params,
  });
};

export const DeleteAllNozzle = (params) => {
  return service({
    method: "GET",
    url: `/api/nozzle/DeleteAllNozzle`,
    params,
  });
};





export const GetBEMShapeDatas = (params) => {
  return service({
    method: "GET",
    url: `/api/BEM/GetBEMShapeDatas`,
    params,
  });
};


export const GetVesselsDesignInput = (params) => {
  return service({
    method: "GET",
    url: `/api/Vessels/GetVesselsDesignInput`,
    params,
  });
};




export const DeleteAllShapeCal = (params) => {
  return service({
    method: "GET",
    url: `/api/shape/DeleteAllShapeCal`,
    params,
  });
};


export const ModifyEquipV2 = (a,b,c,data) => {
  return service({
    method: "POST",
    url: `/api/equipment/ModifyEquipV2?proj_oid=${a}&drawing_stage=${c}`,
    data,
  });
};


export const UpdateEquipCustomAttribute = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipCustomAttribute/UpdateEquipCustomAttribute`,
    params,
  });
};


export const UpdateEquipCustomAttVal = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipCustomAttribute/UpdateEquipCustomAttVal`,
    params,
  });
};



export const ImportEquipInfosV2 = (data,proj_oid) => {
  return service({
    method: "POST",
    url: `/api/equipment/ImportEquipInfosV2?proj_oid=${proj_oid}`,
    data,
  });
};

export const SendStandChecks = (data) => {
  return service({
    method: "POST",
    url: `/api/EquipFileStandReview/SendStandChecks`,
    data,
  });
};


export const SendSafetyDesignCheck = (a,b,c,d,e) => {
  return service({
    method: "POST",
    url: `/api/SafetyDesignChecklist/SendSafetyDesignCheck?proj_oid=${a}&major=${b}&checkers=${c}&modify_user=${d}`,
    data:e,
  });
};


export const UpdateStandCheckInfo = (data) => {
  return service({
    method: "POST",
    url: `/api/EquipFileStandReview/UpdateStandCheckInfo`,
    data,
  });
};

export const FinishStandCheckInfo = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipFileStandReview/FinishStandCheckInfo`,
    params,
  });
};

export const GetSafetyDesignCheckItems = (params) => {
  console.log(params)
  return service({
    method: "GET",
    url: `/api/SafetyDesignChecklist/GetSafetyDesignCheckItems`,
    params,
  });
};


export const UpdateSafetyDesignCheckItems = (obj) => {
  return service({
    method: "POST",
    url: `/api/SafetyDesignChecklist/UpdateSafetyDesignCheckItems?checklist_oid=${obj.checklist_oid}&check_opinion=${obj.check_opinion}&currentUser=${obj.currentUser}&check_content=${obj.check_content}`,
    data:obj.arr,
  });
};


export const DeleteSafetyDesignCheckTable = (params) => {
  return service({
    method: "GET",
    url: `/api/SafetyDesignChecklist/DeleteSafetyDesignCheckTable`,
    params,
  });
};


export const FinishSafetyDesignCheck = (params) => {
  return service({
    method: "GET",
    url: `/api/SafetyDesignChecklist/FinishSafetyDesignCheck`,
    params,
  });
};


export const DeleteEquipFileStandReview = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipFileStandReview/DeleteEquipFileStandReview`,
    params,
  });
};

export const GetStandChecks = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipFileStandReview/GetStandChecks`,
    params,
  });
};


export const GetSafetyDesignChecklist = (params) => {
  return service({
    method: "GET",
    url: `/api/SafetyDesignChecklist/GetSafetyDesignChecklist`,
    params,
  });
};


export const GetAllUnCheckedStandChecks = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipFileStandReview/GetAllUnCheckedStandChecks`,
    params,
  });
};


export const xxgg = (params) => {
  return service({
    method: "GET",
    url: `/api/user/xxgg`,
    params,
  });
};


export const addEquipV2 = (params) => {
  return service({
    method: "GET",
    url: `/api/equipment/addEquipV2`,
    params,
  });
};



export const ExportSupportDatas = (data) => {
  return service({
    method: "POST",
    url: `/api/VesselSupportData/ExportSupportDatas`,
    data,
    responseType: "blob",
  });
};

export const CreateDesignConditionAndCheckedRecord = (data) => {
  return service({
    method: "POST",
    url: `/api/equipment/CreateDesignConditionAndCheckedRecord`,
    data,
    responseType: "blob",
  });
};

export const CreateCalculationBook = (data) => {
  return service({
    method: "POST",
    url: `/api/equipment/CreateCalculationBook`,
    data,
    responseType: "blob",
  });
};


export const CreateVesselRiskReport = (data) => {
  return service({
    method: "POST",
    url: `/api/equipment/CreateVesselRiskReport`,
    data,
    responseType: "blob",
  });
};

export const AddEquipmentsFromDataCenter = (params) => {
  return service({
    method: "GET",
    url: `/api/Equipment/AddEquipmentsFromDataCenter`,
    params,
  });
};

export const DeleteEquip = (params) => {
  return service({
    method: "GET",
    url: `/api/equipment/DeleteEquipV2`,
    params,
  });
};




export const UpdateDataCenterBEMProcessDataState = (params) => {
  return service({
    method: "GET",
    url: `/api/BEM/UpdateDataCenterBEMProcessDataState`,
    params,
  });
};


export const GetBEMProcessDatasFromDataCenter = (params) => {
  return service({
    method: "GET",
    url: `/api/BEM/GetBEMProcessDatasFromDataCenter`,
    params,
  });
};


export const GetVesselsProcessDatasFromDataCenter = (params) => {
  return service({
    method: "GET",
    url: `/api/Vessels/GetVesselsProcessDatasFromDataCenter`,
    params,
  });
};



export const DeleteEquipsV2 = (data) => {
  return service({
    method: "POST",
    url: `/api/equipment/DeleteEquipsV2`,
    data,
  });
};

export const ReuseEquip = (params) => {
  return service({
    method: "GET",
    url: `/api/Equipment/ReuseEquipV2`,
    params,
  });
};


export const GetEquipAttachFiles = (params) => {
  return service({
    method: "GET",
    url: `/api/Equipment/GetEquipAttachFiles`,
    params,
  });
};


export const DeleteEquipAttachFile = (params) => {
  return service({
    method: "GET",
    url: `/api/Equipment/DeleteEquipAttachFile`,
    params,
  });
};

export const UploadEquipFiles = (data,proj_no,equip_no,file_type) => {
  return service({
    method: "POST",
    url: `/api/Equipment/UploadEquipFiles?proj_no=${proj_no}&equip_no=${equip_no}&attach_file_type=${file_type}`,
    data,
  });
};


export const getproject = (params) => {
  return service({
    method: "GET",
    url: `/api/project/getproject`,
    params,
  });
};

export const GetCheckNozzleTable = (params) => {
  return service({
    method: "GET",
    url: `/api/NozzleTable/GetCheckNozzleTable`,
    params,
    headers: {
      "Content-Type": "application/octet-stream",
    },
    responseType: "blob",
  });
};

export const CreateCheckNozzleTable = (data) => {
  return service({
    method: "POST",
    url: `/api/NozzleTable/CreateCheckNozzleTable`,
    data,
  });
};


export const PushModelCalDatasToDataCenter = (data) => {
  return service({
    method: "POST",
    url: `/api/Exporter/PushModelCalDatasToDataCenter`,
    data,
  });
};


export const ExportZipForModel = (str,sizeUnit) => {
  sizeUnit==='In'?sizeUnit = 'in' : ''
  return service({
    method: "GET",
    url: `/api/Exporter/ExportZipForModelV2?${str}`,
    params:{
    sizeUnit:sizeUnit
    },
    responseType: "blob",
  });
};

export const ExportZipForModelInput = (str) => {
  return service({
    method: "GET",
    url: `/api/Exporter/ExportZipForModelInput?${str}`,
  });
};

export const UpgradeEquipFromEDToCD = (params) => {
  return service({
    method: "GET",
    url: "/api/equipment/UpgradeEquipFromEDToCD",
    params,
  });
};

export const UpgradeEquip = (params) => {
  return service({
    method: "GET",
    url: "/api/Equipment/UpgradeEquipV2",
    params,
  });
};

export const getEquipments = (params) => {
  return service({
    method: "GET",
    url: "/api/equipment/GetEquipmentByUserV2",
    params,
  });
};

export const GetEquipCustomAttributes = (params) => {
  return service({
    method: "GET",
    url: "/api/EquipCustomAttribute/GetEquipCustomAttributes",
    params,
  });
};

export const getStandardMetadatas = (params) => {
  return service({
    method: "GET",
    url: "/api/meta/getequipflangestandardmeta",
    params,
  });
};

export const getGasketTypeMetadatas = (params) => {
  return service({
    method: "GET",
    url: "/api/meta/getequipgaskettypemeta",
    params,
  });
};

export const getbooloptiondatas = (params) => {
  return service({
    method: "GET",
    url: "/api/meta/getboolmeta",
    params,
  });
};

export const getArrangeAnglemetadatas = (params) => {
  return service({
    method: "GET",
    url: "/api/meta/getequiptubearrangeangelmeta",
    params,
  });
};

export const GetNozzleConnectTubeMaterialMeta = (params) => {
  return service({
    method: "GET",
    url: "/api/meta/GetNozzleConnectTubeMaterialMeta",
    params,
  });
};

export const GetNozzleInternalComponentsMeta = (params) => {
  return service({
    method: "GET",
    url: "/api/meta/GetNozzleInternalComponentsMeta",
    params,
  });
};

export const DelBEMNozzleDesignDatas = (params) => {
  return service({
    method: "GET",
    url: "/api/BEM/DelBEMNozzleDesignDatas",
    params,
  });
};

export const GetNozzleReinforcingRingMeta = (params) => {
  return service({
    method: "GET",
    url: "/api/meta/GetNozzleReinforcingRingMeta",
    params,
  });
};


export const SaveVesselsDesignDatas = (params) => {
  return service({
    method: "GET",
    url: "/api/Vessels/SaveVesselsDesignDatas",
    params,
  });
};

export const saveBEMDesigndatas = (params) => {
  return service({
    method: "GET",
    url: "/api/BEM/SaveBEMDesignDatasV2",
    params,
  });
};

export const SaveEquipDrawingDesignDatas = (data,a,b,c,d,e,f,g) => {
  return service({
    method: "POST",
    url: `/api/EquipDrawingTable/SaveEquipDrawingDesignDatas?equip_oid=${a}&user=${b}&net_weight=${c}&lifting_weight=${d}&operating_weight=${e}&maximum_weight=${f}&vessel_type=${g}`,
    data,
  });
};


export const SaveTowerProcessData = (data,a,b,c,d,e,f,g) => {
  return service({
    method: "POST",
    url: `/api/Tower/SaveTowerProcessData?equip_oid=${a}&user=${b}&net_weight=${c}&lifting_weight=${d}&operating_weight=${e}&maximum_weight=${f}&vessel_type=${g}`,
    data,
  });
};



export const SaveNozzleDesignDatas = (params) => {
  return service({
    method: "GET",
    url: "/api/BEM/SaveNozzleDesignDatas",
    params,
  });
};

export const SaveModelParam = (params) => {
  return service({
    method: "GET",
    url: "/api/NozzleMaterialList/SaveModelParam",
    params,
  });
};

export const GetBEMNozzleDesignDatas = (params) => {
  return service({
    method: "GET",
    url: "/api/BEM/GetBEMNozzleDesignDatas",
    params,
  });
};

export const getBEMdesigndatas = (params) => {
  return service({
    method: "GET",
    url: "/api/BEM/getBEMdesigndatas",
    params,
  });
};


export const GetVesselsDesignDatas = (params) => {
  return service({
    method: "GET",
    url: "/api/Vessels/GetVesselsDesignDatas",
    params,
  });
};

export const getRatingMetadatas = (params) => {
  return service({
    method: "GET",
    url: "/api/meta/getequipflangeratingmeta",
    params,
  });
};

export const getequipmentshape = (params) => {
  return service({
    method: "GET",
    url: "/api/shape/getequipmentshape",
    params,
  });
};

export const ModifyShape = (data) => {

  return service({
    method: "POST",
    url: `/api/shape/ModifyShapeV2?user=${JSON.parse(localStorage.getItem("userMessage")).user_name}`,
    data,
  });
};

export const UpdateLastModifyTime = (params) => {
  return service({
    method: "GET",
    url: "/api/equipment/UpdateLastModifyTime",
    params,
  });
};

export const AddShape = (data) => {
  return service({
    method: "POST",
    url: `/api/shape/AddShapeV2?user=${JSON.parse(localStorage.getItem("userMessage")).user_name}`,
    data,
  });
};

export const DeleteAllShape = (params) => {
  return service({
    method: "GET",
    url: "/api/shape/DeleteAllShape",
    params,
  });
};

export const GetEquipmentNozzle = (params) => {
  return service({
    method: "GET",
    url: "/api/nozzle/GetEquipmentNozzle",
    params,
  });
};

export const ModifyNozzle = (params) => {
  return service({
    method: "GET",
    url: "/api/nozzle/ModifyNozzle",
    params,
  });
};

export const AddNozzle = (params) => {
  return service({
    method: "GET",
    url: "/api/nozzle/AddNozzle",
    params,
  });
};

export const DeleteNozzle = (params) => {
  return service({
    method: "GET",
    url: "/api/nozzle/DeleteNozzle",
    params,
  });
};



export const ExportExcelForModelInput = (params) => {
  return service({
    method: "GET",
    url: "/api/Exporter/ExportExcelForModelInput",
    params,
  });
};


export const ReceiveNozzleLocation = (params) => {
  return service({
    method: "GET",
    url: "/api/Nozzle/ReceiveNozzleLocation",
    params,
  });
};


export const CalculateEquipPaintedSurfaceArea = (params) => {
  return service({
    method: "GET",
    url: "/api/Shape/CalculateEquipPaintedSurfaceArea",
    params,
  });
};

export const ImportExcelForModelInput = (data, id) => {
  return service({
    method: "POST",
    url: `/api/Importer/ImportExcelForModelInput?equip_oid=${id}`,
    data,
  });
};

export const calculateshape = (params) => {
  return service({
    method: "GET",
    url: `/api/calculator/CalculateShapeV2`,
    params,
  });
};

export const getBEMprocessdatas = (id) => {
  return service({
    method: "GET",
    url: `/api/BEM/getBEMprocessdatas?equip_oid=${id}`,
  });
};

export const GetVesselsProcessDatas = (id) => {
  return service({
    method: "GET",
    url: `/api/Vessels/GetVesselsProcessDatas?equip_oid=${id}`,
  });
};



export const GetTowerProcessDatas = (id) => {
  return service({
    method: "GET",
    url: `/api/Tower/GetTowerProcessDatas?equip_oid=${id}`,
  });
};

export const GetStorageTankProcessDatas = (id) => {
  return service({
    method: "GET",
    url: `/api/StorageTank/GetStorageTankProcessDatas?equip_oid=${id}`,
  });
};

export const GetSphericalTankProcessDatas = (id) => {
  return service({
    method: "GET",
    url: `/api/SphericalTank/GetSphericalTankProcessDatas?equip_oid=${id}`,
  });
};



export const GetReactorProcessDatas = (id) => {
  return service({
    method: "GET",
    url: `/api/reactor/GetReactorProcessDatas?equip_oid=${id}`,
  });
};


export const SaveSphericalTankProcessDatas = (data) => {
  return service({
    method: "POST",
    url: `/api/SphericalTank/SaveSphericalTankProcessData`,
    data,
  });
};



export const UpdateEquipVesselType = (data) => {
  return service({
    method: "POST",
    url: `/api/equipment/UpdateEquipVesselType`,
    data,
  });
};


export const SaveReactorProcessDatas = (data) => {
  return service({
    method: "POST",
    url: `/api/reactor/SaveReactorProcessData`,
    data,
  });
};



export const SaveStorageTankProcessDatas = (data) => {
  return service({
    method: "POST",
    url: `/api/StorageTank/SaveStorageTankProcessData`,
    data,
  });
};

export const SaveTowerProcessDatas = (data) => {
  return service({
    method: "POST",
    url: `/api/Tower/SaveTowerProcessData`,
    data,
  });
};



export const SaveVesselsProcessData = (data) => {
  return service({
    method: "POST",
    url: `/api/Vessels/SaveVesselsProcessData`,
    data,
  });
};

export const SaveBEMProcessDatas = (params) => {
  return service({
    method: "GET",
    url: `/api/BEM/SaveBEMProcessDatas`,
    params,
  });
};


export const SaveEquipSubType = (params) => {
  return service({
    method: "GET",
    url: `/api/equipment/SaveEquipSubType`,
    params,
  });
};

export const SaveBEMProcessDatasH = (data,type) => {
  return service({
    method: "POST",
    url: `/api/BEM/SaveBEMProcessDatasV2?equip_sub_type=${type}`,
    data,
  });
};

export const Exportbembyid = (params) => {
  return service({
    method: "GET",
    url: `/api/Exporter/ExportBEMByIDV2`,
    responseType: "blob",
    params,
  });
};

export const ModifyEquipStatus = (params) => {
  return service({
    method: "GET",
    url: `/api/equipment/ModifyEquipStatusV2`,

    params,
  });
};

export const GetEquipDrawingTable = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipDrawingTable/GetBEMEquipDrawingDesignDatas`,

    params,
  });
};


export const GetVesselEquipDrawingDesignDatas = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipDrawingTable/GetVesselEquipDrawingDesignDatas`,

    params,
  });
};


export const GetReactorEquipDrawingDesignDatas = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipDrawingTable/GetReactorEquipDrawingDesignDatas`,

    params,
  });
};


export const GetTowerEquipDrawingDesignDatas = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipDrawingTable/GetTowerEquipDrawingDesignDatas`,

    params,
  });
};


export const GetBEMEquipDrawingNaturalDatas = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipDrawingTable/GetEquipDrawingNaturalDatas`,

    params,
  });
};



export const GetMaterialMetaDatas = (params) => {
  return service({
    method: "GET",
    url: `/api/EquipDrawingTable/GetMaterialMetaDatas`,

    params,
  });
};


export const GetBEMEquipDrawingNozzleDatas = (params) => {
  return service({
    method: "GET",
    url: `/api/BEM/GetBEMNozzleDesignDatas`,

    params,
  });
};


export const ModifyEquipModelStatusV2 = (params) => {
  return service({
    method: "GET",
    url: `/api/equipment/ModifyEquipModelStatusV2`,

    params,
  });
};




